// 全局
* {
	margin: 0;
	padding: 0;
	list-style: none;
}
body {
	width: 250px;
	height: 400px;

	// border: solid 1px rebeccapurple;
	// border-radius: 20px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

// logo
.logo {
	width: 250px;
	height: 140px;
	text-align: center;
	color: #2ecc71;
	user-select: none;
	// border: solid 1px red;

	span {
		font-size: 40px;
		line-height: 150px;
		font-weight: 500;
	}
}

// 属性设置
.value {
	width: 250px;
	height: 150px;
	list-style: none;
	text-align: center;
	position: relative;

	box-sizing: border-box;
	// border: solid 1px blue;

	li:nth-of-type(1) {
		width: 250px;
		height: 75px;
		input {
			display: none;
		}
		.button-1 {
			display: inline-block;
			// border: solid 1px red;
			width: 200px;
			height: 60px;
			background-color: #e6e5e6;
			border-radius: 30px;
			position: relative;
		}

		.button-2 {
			display: inline-block;
			position: absolute;
			width: 100px;
			height: 50px;
			z-index: 2;
			background-color: #2ecc71;
			border-radius: 30px;
			top: 5px;
			right: 120px;
			box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.3);
		}
		.button-2 {
			transition: 0.5s;
		}

		input[type="checkbox"]:checked + span[class="button-2"] {
			transform: translateX(92px);
			box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.3);
		}

		div {
			display: inline-block;
			position: absolute;
			transition: 0.5s;
			user-select: none;
		}

		#text1 {
			font-size: 16px;
			bottom: 110px;
			right: 138px;
			z-index: 3;
			color: white;
		}
		#text2 {
			font-size: 16px;
			bottom: 110px;
			right: 48px;
			z-index: 3;
		}

		input[type="checkbox"]:checked ~ div[id="text1"] {
			color: black !important;
		}

		input[type="checkbox"]:checked ~ div[id="text2"] {
			color: white;
		}
	}

	ul li:nth-of-type(2) span {
		display: block;
		margin-top: 5px;
		font-size: 20px;
		font-weight: 500;
		color: #595959;
		user-select: none;
	}

	input {
		text-align: center;
		width: 180px;
		height: 30px;
		font-size: 20px;
		margin-top: 5px;
		outline: none;
		// background: #e6e5e6;
		border: solid 2px #2ecc71;
		border-radius: 5px;

		border: none;
		border-bottom: solid 2px #2ecc71;
	}
}

// 启动按钮
.start_or_over {
	width: 250px;
	height: 100px;
	// border: solid 1px green;
	text-align: center;
	user-select: none;
	input{
		display: none;
	}
	div{
		line-height: 50px;
		overflow: hidden;
		font-size: 16px;
		color: white;
		position: relative;
		left: 75px;
		margin-top: 15px;
		width: 100px;
		height: 50px;
		border-radius: 25px;
		background-color: #2ecc71;
		box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.3);
		border: none;
	}
	button {

		overflow: hidden;
		font-size: 16px;
		color: white;
		position: relative;
		margin-top: 15px;
		width: 100px;
		height: 50px;
		border-radius: 25px;
		background-color: #2ecc71;
		box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.3);
		border: none;

		cursor: pointer;
	}
	button:focus {
		outline: none;
	}
	// 动画
	span {
		
		position: absolute;
		top: 1000px;
		background: #fff;
		transform: translate(-50%, -50%);
		pointer-events: none;
		border-radius: 50%;
		animation: animate 1s linear infinite;
	}

	@keyframes animate {
		0% {
			width: 0px;
			height: 0px;
			opacity: 0.3;
		}
		100% {
			width: 500px;
			height: 500px;
			opacity: 0;
		}
	}
}
